<?php

namespace Ignus\View\Loader;

use Ignus\View\LoaderInterface;
use Ignus\View\Error\Loader;

class StringLoader implements LoaderInterface
{
    public function getSource($name)
    {
        return $name;
    }

    public function getCacheKey($name)
    {
        return $name;
    }

    public function isFresh($name, $time)
    {
        return true;
    }
}
